﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AlexandriaPressAdminDataAccessLayer;
using AlexandriaPressAdminObject;


namespace AlexandriaPressAdminBusinessLayer
{
    public class AuthorApplicationBL
    {
        public static List<ApplicantInfo> viewApplicants()
        {
            return AuthorApplicationDL.displayAll();

        }

        public static int approveApplicants(List<ApplicantInfo> applicants)
        {
            return AuthorApplicationDL.approveApplicant(applicants);


        }

        public static int denyApplicants(List<ApplicantInfo> applicants)
        {
            return AuthorApplicationDL.denyApplicant(applicants);


        }
    }
}
